InsertISOItem method

Inserts a file or directory into the ISO/Joliet image. The sDestinationPath parameter indicates where in the image folder structure the file or directory is to be added. The sDestinationPath should be in the format of:   

\[Image Folder Name]\[Image Filename - if applicable]

The sSourcePath parameter is the location of the source file (only if adding a file). An empty folder can be added to the image by providing a blank sSourcePath parameter with a valid destination path. The format of the sSourcePath parameter should be a valid file path. After an item has been added, the ISOItemAdded event will fire to indicate success an allow the GUI to be updated if necessary.

Return Type

A Boolean value.

Syntax

object.InsertISOItem(sDestinationPath As String, sSourcePath As String)

The InsertISOItem method syntax has these parts:

Part Description
object An expression evaluating to an object of type CDWriterPro.
sDestinationPath String
sSourcePath String